﻿#pragma once
#include "Config_General_Dlg.h"
#include "Config_DruidDlg.h"
#include <vector>


// ConfigDlg 对话框

class ConfigDlg : public CDialogEx
{
	DECLARE_DYNAMIC(ConfigDlg)

public:
	ConfigDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~ConfigDlg();

	// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_SPELL_CONFIG };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	CTabCtrl tab_class_spec_;
	int cur_sel_tab;
	Config_General_Dlg dlg_page1;
	std::vector<std::shared_ptr<Config_DruidDlg>> dlg_druid_pages;
	std::vector<CDialogEx*> vec_dlg;
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeTabClassSpec(NMHDR *pNMHDR, LRESULT *pResult);
};
